package com.hk.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hk.core.PageResult;
import com.hk.domain.Business;
import com.hk.domain.Clue;
import com.hk.domain.TalkHistory;
import com.hk.dto.BusinessFalsePageDto;
import com.hk.dto.BusinessPageDto;
import com.hk.dto.BusinessUpdateDto;
import com.hk.dto.PullDto;
import com.hk.vo.TalkHistoryVo;

import java.util.List;
import java.util.Map;

public interface BusinessService extends IService<Business> {

    PageResult list(BusinessPageDto dto);

    void add(Business business);

    Business queryById(Integer id);

    List<TalkHistoryVo> queryTalkById(Integer businessId);

    void update(BusinessUpdateDto dto);

    Integer push(Integer businessId,Integer id);

    PageResult listFalse(BusinessFalsePageDto dto);

    void pull(PullDto dto);

    Map<String,Long> selectCount();
}
